package dm

func (com *DmSoft) RunApp(appPath string, mode int) int {
	ret, _ := com.dm.CallMethod("RunApp", appPath, mode)
	return int(ret.Val)
}

func (com *DmSoft) GetLastError() int {
	ret, _ := com.dm.CallMethod("GetLastError")
	return int(ret.Val)
}
